package com.crazymaker.springcloud.common.util;

import java.util.Base64;
import java.util.UUID;

public class UUIDUtil {
	public static String uuid() {
		return UUID.randomUUID().toString().replace("-", "");
	}

	public static String createJTI() {
		return	new String(Base64.getEncoder().encode(UUID.randomUUID().toString().getBytes()));
	}
}
